package com.ruoyi.websocket.mapper;

import java.util.List;
import com.ruoyi.websocket.domain.WbNoticeMessage;

/**
 * 通知信息框Mapper接口
 * 
 * @author cpw
 * @date 2025-06-11
 */
public interface WbNoticeMessageMapper 
{
    /**
     * 查询通知信息框
     * 
     * @param id 通知信息框主键
     * @return 通知信息框
     */
    public WbNoticeMessage selectWbNoticeMessageById(Long id);

    /**
     * 查询通知信息框列表
     * 
     * @param wbNoticeMessage 通知信息框
     * @return 通知信息框集合
     */
    public List<WbNoticeMessage> selectWbNoticeMessageList(WbNoticeMessage wbNoticeMessage);

    /**
     * 新增通知信息框
     * 
     * @param wbNoticeMessage 通知信息框
     * @return 结果
     */
    public int insertWbNoticeMessage(WbNoticeMessage wbNoticeMessage);

    /**
     * 修改通知信息框
     * 
     * @param wbNoticeMessage 通知信息框
     * @return 结果
     */
    public int updateWbNoticeMessage(WbNoticeMessage wbNoticeMessage);

    /**
     * 删除通知信息框
     * 
     * @param id 通知信息框主键
     * @return 结果
     */
    public int deleteWbNoticeMessageById(Long id);

    /**
     * 批量删除通知信息框
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWbNoticeMessageByIds(Long[] ids);

    /**
     * 设为已读
     * @param id 消息的id
     * @return 结果
     * */
    public int updateWbNoticeMessageReadStatus(Long id);
}
